﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fastyou.DesignPattern.Bridge
{
    public abstract class Colors
    {
        protected ILight light;
        protected string color;

        public ILight Light
        {
            set;
            get;
        }

        public virtual void TurnOn()
        {
            this.light.TurnOn();
        }
    }
}
